package org.test.redis.properties.parse;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by wangyg 
 * on 2017/3/9 17:16
 */
public class UseSpring {
	@Value("${redis.ip}")
	String ip;

	static {
		ApplicationContext context = new ClassPathXmlApplicationContext("classpath:spring-redis.xml");
	}

	public static void main(String[] args) {
//		System.out.println(ip);
	}
}
